package com.hmkj.core.service.commo;

import com.hmkj.core.model.order.CommoModel;
import com.hmkj.core.po.commo.Commo;
import com.hmkj.core.service.base.GenericService;

import java.util.List;

/**
 * 交易品种表业务相关Service接口<br>
 *
 * @author eproo
 * @ClassName: CommoService
 * @date 2017-11-07 02:22:12
 */
public interface CommoService extends GenericService<Integer, Commo> {

    /**
     * 交易品种添加
     *
     * @param model
     * @throws Exception
     */
    void doAdd(Commo model) throws Exception;

    /**
     * 交易品种修改
     *
     * @param model
     * @throws Exception
     */
    void doEdit(Commo model) throws Exception;

    /**
     * 查询品种相关列表
     *
     * @return
     */
    List<CommoModel> selectModelList();
}
